Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testsys-launcher: add imdsv2-only hack #852

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

jpculp
Copy link
Member

@jpculp jpculp commented Aug 30, 2023

Description of changes:

Since there isn't an easy way to force IMDSv2 on instances launched by the ASG, you can just run this script to restrict IMDS on the nodes.

Testing done:

Ran the script against my testsys cluster.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Since there isn't an easy way to force IMDSv2 on instances launched by
the ASG, you can just run this script to restrict IMDS on the nodes.
Copy link
Contributor

@stmcginnis stmcginnis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful - lgtm!

The CI job has been broken for some time now. I may try to look into it some more once I have a little time, unless someone else can before I do.

@jpculp jpculp merged commit b622cca into bottlerocket-os:develop Aug 30, 2023
@jpculp jpculp deleted the testsys-launcher-imdsv2 branch August 30, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants